Skip to content

Voice operations fail on macOS Apple Silicon - Add support for darwin-aarch64 platform - #15

Open
hasanunlukilinc wants to merge 1 commit into
discord-java:masterfrom
hasanunlukilinc:patch-1
Open

Voice operations fail on macOS Apple Silicon - Add support for darwin-aarch64 platform#15
hasanunlukilinc wants to merge 1 commit into
discord-java:masterfrom
hasanunlukilinc:patch-1

Conversation

@hasanunlukilinc

Copy link
Copy Markdown

Cause: The embedded libdave.dylib and libopus.dylib libraries were not compatible and required manual compilation for macOS. Furthermore, a missing line caused the system to automatically reject the operation even after manual compilation.

@freya022

freya022 commented Sep 7, 2026

Copy link
Copy Markdown

The platforms map indicate which ones are officially supported by the provided binaries, and the current macOS one only supports x86_64. I don't think anything prevents you from loading your own build, you can do it with OpusLibrary.loadFrom(String).

JDA might remove built-in Opus support in the future, replacing it with an API that any 3rd party library can hook into, see discord-jda/JDA#2997. Such 3rd party libraries can then be updated more easily, and the new library I made alongside it, supports all platforms supported by the official Opus binaries.

Also you mentioned libdave not being compatible, I just checked and the darwin binary has both x86_64 and aarch64, remember this repo is only about Opus, not DAVE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants